changed gs test to be more tolerant of display servers