Add tests for basic_nack and basic_ack.