Adds `gulp test`

fixes testing for travis. Travis now tests with phantomJS and Firefox