    @Test
    public void testInsert() throws Exception {

        List<Put> puts = factory.insert(tableId, row);
        byte[] rowCounts = countRowTypes(puts);

        assertEquals("data row count", 1, rowCounts[DATA_PREFIX]);
        assertEquals("ascending index count", 2, rowCounts[ASC_PREFIX]);
        assertEquals("descending index count", 2, rowCounts[DESC_PREFIX]);
        assertEquals("row count", 5, puts.size());
    }