tests collision