added spec tests to rakefile