Fixed tests file to adher to havana internal api #11

(cherry picked from commit 2c3e60fa133ff58e98253bc1a3624af94871a6e9)

Conflicts:
	tests/test_middleware_voms_authn.py
Improved testing so that we only run the module's tests