Task case class and test to get the most current task