Test headless app