attempt at headless testing