Use headless env. for testing