model test improved robustness