add Rakefile for travis-ci + spec tests