Mocha test improvements for Decorated JSON