Search function test class