Could you  also add some tests for <code>sharedObjects</code> methods (registerSharedObject, applySharedObject, applyAutoSharedObjects)?