improve test case for tabIndex, refs #34