test: ensure protocols and redirections can be injected