paralleltest
Fix all the linter problems for the `v0.16.0-beta.rc3`.
We needed to copy some mocks from elsewhere in the codebase, as otherwise we'd run into an import cycle.