Removed wrong assertion.
Fixed to work properly on Unix.
Run all tests with logging config.
Changed default test messages.