add find and findOne hooks with tests