New test class for non-public injection testcase