add a restful test &  a flask regex test