added test to ensure collisions worked as expected.