Detect the camel-cased directory name as the global name.a]sdfadsf
Refactor tests to es6 modules.

For some reason, mocha is running one of the tests twice in the attributes tests and if it fails, it causes subsequent failures. The only way to get it working was to add a specia beforeEach and afterEach cleanup that is already being done in the bootstrap module.