Fix order of test