diff --git a/cas.module b/cas.module
index 508cb38..1937409 100644
--- a/cas.module
+++ b/cas.module
@@ -193,6 +193,11 @@ function cas_login_check() {
  *   The phpCAS version if the phpCAS was successfully loaded, FALSE otherwise.
  */
 function cas_phpcas_load($path = NULL) {
+  // If phpCAS is already loaded, we will not be able to load it again.
+  if (defined('PHPCAS_VERSION') && class_exists('phpCAS')) {
+    return PHPCAS_VERSION;
+  }
+
   if (!isset($path)) {
     if (module_exists('libraries')) {
       $path = libraries_get_path('CAS');
diff --git a/cas.test b/cas.test
index e4877a4..dc985bb 100644
--- a/cas.test
+++ b/cas.test
@@ -328,7 +328,6 @@ class CasUserTestCase extends CasTestHelper {
   }
 
   function testUserEdit() {
-    return;
     $cas_name = $this->randomName();
     $account = $this->casCreateUser($cas_name, array('change own username'));
 
