Add tests for data_mapping compilation