refactor: add search tests
refactor: add appserver tests