rspec configuration and tests