Added log unit test foreground

Current Coverage:
	73%   39-42, 76-81, 126, 145, 147-148, 174, 198-221, 233-250