Fix levels tests.