Fixed LogCase unittest