Cleaned up tests, using a convenience Lines case class