Fixed issue with shared content
Added basic Mocha tests