Define library with UMD and test built file

Extend build process to create an ignored "test" file that can be loaded
in various test environments.