Added scalatest as test-dependency.
Added tests for port-repository and fixed typo in persistence-package-object.