Fixed require to work with other UMD stuffs
Converted tests to tape