[BUG #8644] Added source version support for mocha-based tests