Implement testFindOneByCriteria method.
Cleanup.