test 0 integer and invalid % value for tab-size

Also add fall back valid value for negative length test