added tests for mappings