test for REM form
Merge pull request #5 from Evgenus/master

test for REM form
Use Mocha and clean up tests
Support es6 module type. Fixes #6