Inject instances created by provider and test.