ECMS-6493 improve unit test, change rank of share button