Updated test particle case class and read function (+ unit tests).