Adds library UMD wrapper and test infrastructure.