Fixed faulty tests.