fix(specs templates): move injection to within the test