add case class test case and the Option's usage