Fix a regex issue with the rake tests