add findOneFn to test