added shareApi tests