Add test for storing mappings with a block
Allow calling #mappings without a block