[BUG #8618] migrate bom tests to mocha