Extended the basic app example with a case class and accompanying test