More unit tests

I've added tests for PinyinConverter and Assets.