adding test code for transmitting ball collisions