add a test for the NodeHelper purge functionality

i am not sure if it is a good idea to add such tests here. they somehow belong into phpcr-utils, but there we currently have no full setup with an implementation. and it makes sense to test the utils with all implementations as they use functionality of phpcr and could reveal potential implementation bugs.

i autoskip the test if phpcr utils is not available.