Adds 'test' command to detect collisions