Python Code Challenge

224 - Write a function to test if a given number is a fibonacci number and write test cases for it.