Forced encoding of characters as utf8
Removed system.out and added several asserts
Moved samples dir to test/resources and update related test cases