fixed testcollisiondetector