[BUG #8618] migrate io tests to mocha (syntax)