make better use of dtype tests in nanops