Refactor Command test. Move failed queue to Command instead of the consumer