Added Javadoc and tests to clarify the behaviour of the delete methods on AdvancedDatastore, thanks to questions raised by issue #633