Add tests for utf8 class

These tests include:
	tests for upper and lower cases
	tests for substring and truncate