implement OperatorSelector into captcha and refactor test of Operator