Added new tests, checkType moved to lengthconverter.cxx