refactor test case for Double-byte conversion