For patients with bladder cancer, a simple test can cut down on care costs, overtreatment and side effects, according to a study.