fix tests
fix search