Add rakefile for testing