Define rake script for running tests with travis