Added unit test to confirm that the package works correctly with RequireJS