Add rakefile for running tests.