Write initial test suite for log every error functionality