Fix tests to work on Python 3: remove dependency on envoy, general simplifications
Use tests/tmp instead of /tmp, to make things work on non-unix
Updated loop tests
Merge pull request #23 from heatherleaf/fixtests

Several fixed in runtests.py