Updated unit tests and minified build