some unit test for the new ocs share api