Converted attributes to integers where necessary to make rspec happy