input: Write a function to test the CollectionQuery class using unittest framework.
  assert query.archive_center("LP DAAC") == {"archive_center": "LP DAAC"}
  assert query.keyword("AST_*") == {"keyword": "AST_*"}
  assert query.format("json") == "json"
  assert query.concept_id("C1299783579-LPDAAC_ECS") == ["C1299783579-LPDAAC_ECS"]
output: import unittest
  
  class CollectionQuery:
      def __init__(self):
          self.query = {}
  
      def archive_center(self, center):
          self.query['archive_center'] = center
          return self.query
  
      def keyword(self, keyword):
          self.query['keyword'] = keyword
          return self.query
  
      def format(self, fmt):
          return fmt
  
      def concept_id(self, concept_id):
          return [concept_id]
  
  class TestCollectionQuery(unittest.TestCase):
      def setUp(self):
          self.query = CollectionQuery()
  
      def test_archive_center(self):
          self.assertEqual(self.query.archive_center("LP DAAC"), {"archive_center": "LP DAAC"})
  
      def test_keyword(self):
          self.assertEqual(self.query.keyword("AST_*"), {"keyword": "AST_*"})
  
      def test_format(self):
          self.assertEqual(self.query.format("json"), "json")
  
      def test_concept_id(self):
          self.assertEqual(self.query.concept_id("C1299783579-LPDAAC_ECS"), ["C1299783579-LPDAAC_ECS"])
  
  if __name__ == '__main__':
      unittest.main()