Created tests for mappinggate.py