fixed karama tests
added phantomjs karma test to run in travis