Running these tests under the X server (DISPLAY=:0) results in a pass, whereas running under Xvfb (DISPLAY=:55) times out.