fixed MockTest to use Log