Fixed crashing log tests