Added tests for serializer classes