rspec tests for queue created