Fixed isCenterWindow unit test now that I understand the logic