compat.py is now 100% covered

cleaned compat.py
tests that wsgi.errors raises an error