updated tests for new findby api