modified get shares list test to cover more cases