Test all cases should pass.