Update umd dependency

This fixes a few issues with some AMD/RequireJS loaders for --standalone
Update tests
4.1.2