Fix checkstyle errors.
Add test to ensure zero-target injections work.