rspec tests for versioning