working on test - still having a problem with repeated parameter in case class because they don't have a copy method