Added constants to rspec tests.