follow the code style of surrounding code
added test for input source with no mappings