Fix a minor typo in exception message
Add minified version
Add tests for minified version