Add case class and some test on reflection