some unit tests for the unescape function