fixing test_dtype