only run display test when not headless