add spec, modify Rakefile