The setters and getters for the path property in the test class need to be protected.
Remove the magic getters and setters from persistent. They are deprecated only in the persistent class for competencies.