testing ball detection