Added utility methods to HIndexedTable and new tests in Test.