ES6: Added RegExp.prototype.compile test