test case for RAMMessage