please keep the intention as is. can you work up a phpcr-api-test unit test to illustrate the issue you are fixing here?