Updated tests and search api backend