Fix buggy test.