Adding integration tests and phantomJS

fix abilities @user instead of user