Finish MsgAck and wrote a simple tester