add test for bindShared