convert test data to numeric