rewrite issues search test to prevent ajax requests running after test