fix up tests - add def debug? etc to MockLogger