Migrate export tests to api tests Upstream-commit: e734e8f51597bba3d7c097144d981b85b30dde99 Component: engine