refactor(tests): remove unnecessary inject calls

Some tests rely on the fact that dependencies can be injected into `it`s, but some call `inject` explicitly. This PR makes tests more consistent by removing unnecessary inject calls.

Closes #1218