Added test case to verify the fix to read/writeLong in ADataMessage