Fix test for XRegExp.replace with namespacing (failing in some envs) and add equivalent test for when namespacing is off
Fix test for XRegExp.replace with namespacing (failing in some envs) and add equivalent test for when namespacing is off

mathiasbynens/xregexp,slevithan/xregexp,mathiasbynens/xregexp,mathiasbynens/xregexp,slevithan/xregexp,GerHobbelt/xregexp,slevithan/xregexp,GerHobbelt/xregexp,slevithan/XRegExp,GerHobbelt/xregexp,mathiasbynens/xregexp,slevithan/XRegExp