Add a test for injections and default argument resolvers