update headless testing to be configurable