Minor fix for regexp in methodtracer. Added extra tests.