configures coveralls with codeship
refactors poltergeist test