more tests and the logger now seems to be correct