added a test for find_one