Add some more tests, fix utf-8 encoding, add readme