tests for inject_inputs