Python testing facilities for twemproxy