fix(testInject): Fix test injection to allow setting multiple variable
and attach new varibale to test scope.