add MutableText test using Mocha