improved Log entity test