Add basic logging tests.