Fix tests, typehint escape() param