Setting up a travis-ci rake task
Modified the tests so that they will work with PhantomJS