Add missing getter.
Tighten test.
Merge pull request #1055 from tweise/hds

Add missing getter.