Added tests for find_by and find_all_by methods
added tests for find_by and find_by_all