Fixed Rakefile for auto testing