Unit test for data map serialization bug fix.