moar logging helpers
better test