Add tests for utf8 class

These tests include:
	tests for upper and lower cases
	tests for substring and truncate
Merge pull request #2 from yfix/test_utf8

Add tests for utf8 class