Logging and some glumpy tests

Muddled commit...