Add tests for account listing using --lh switch

Change-Id: I2e68a24212eda463f39a5d0be13f1645ca2a23d8