API test case class.