CORE-4164 Fixed tests for updated share button logic.