Test equality of case class instances
Work out how to get the name of an enum from the value