added Rakefile & tests