switch order of tests