added utf8 decoding cases for 5 and 6 bytes
Adding a simple unit test for the logging functionality. Could be encanced further