fix Rakefile for test