feature: better test support in log.js