added comments to testgetmessage