add case class test