Added tests for new extended exportsOverride

- added unit tests for new functionality, fixed JSHint warnings