Update class.mbclass.php

Bugfix in testString()