adding test result serializer