integration test for findByCustomParam method