merged from script testing to proper Rakefile testing