Added real attributes to rspec tests.