Fixed failing 2.2 tests

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

1858b96b7dc473fcab09533b17ace9a24b8d3d86 introduced a mocked context and therefore `getExecutionContext()` is was renamed to `getMockExectionContext()`.