improve string regexp tests output