Add logger test

Basic tests of the logging functionality. Please extend!