fix failing test, by initializing mapping context before enhancing domain