Test management search

Added a test that tests the search feature in managements, and makes sure that it does not break the application.