fixed sharing unit test