Some unit tests for AdHocMessages