Fix bug in order of tests.