Fixing failing test and adding minified version.