Added logger test.
Added several tests.