Delete unnecessary code
AAdd tests to validates the regex query arguments