Added max-time option to consume command
Fixed test