Tests with Rspec framework