add basic rspec settings and some tests