Add rakefile for running tests on travisci