unit tests fixed for ERROR and ACK of ERROR