Add unit tests for ASCII conversion