fixed tests for data type conversion