rakefile added, tests passing