Fixed dao entity test