Added tests to rakefile