~ update a log function in tests