tests: Add test_mapall

Add a test which verifies that the export option 'mapall' works.

Change-Id: I4a62a53da635c08b35c957596ef952f46b06a3ca