Added collision test for targets. Closes #25.