Fixes faulty tests.