improved search query and fixed some tests in apartment and reviews