testing collision detecting