Migrate events tests to api tests Upstream-commit: 2f7a76a6a0959109e4438952c88c824078cea074 Component: engine