add tests for isHalfWidth