Attempt 3 for headless testing