Update test_data_path function to return any data or dir path of test data.