fixed all tests, added/configured poltergeist