Spec and fix for #134 (#147 is dup)

t++ was missing from the :* section of the if statement so the dimension
counter was not functioning properly.