Completed tests and implementation for AcknowledgementHandler.