Minor code duplication cleanup in FDBIndexRow. Add tests to
IndexRowTest.