added test to check if searching for managements breaks the app