Changed inclusion method for the headless tests