Fixed level problems in tests.