added 8 rspec tests for the status controller