added rakefile for travis and two expectations for Device