Switch to Rakefile for testing