added tests for find_all and find_by