Added console logging for tests