fix share api tests