test was not testing headless