added config#assertMap function