Cleaned up shibboleth_server module and added tests