tests for added injection method