ERT-529: Updated test to rerun twice with different cases.