Add a test of utils.check_data_format.
Add some basic mapping util tests