test headless with poltergeist