Fix test that would break depending on run order