Add tests for simple logging.
Merge branch 'dev'