ART-1141 Fix ordering problem in the test