Changed joins to resolves, for better stability
Added clearing require cache after tests for testresults that doesn't influence each other
Removed unnecessary call to $LOGGER
Added basic structure for testing spec and added bootstrap.js spec