Increase resource injection coverage and update test cases