Add test for qualified injections

Change-Id: I0a956df0b26feba132905bd14b8bfb12da23ba4a