fixing tests on rakefile