testcase for the gson serializers works