Comparison of numerical solvers for cavitating flows