[rspec] amqp handler and extension tests