(Issue 326) Moved auto-refresh and 'get all' search functionality into a test utility method instead of core RestAPI