Expanded headless_test