tests: improved coverage about shares