prepared test for injecting by path