fixed tests and marked search methods as deprecated