 			create unique index useremail 
 				on users.user (lower(email));
 			return next 'Created users.user.email index.';
+		end if;
+
+		if failed_test('test_users_has_anonymous_user') then
+			insert into users.user (id, active, name, password, email) 
+				values
+				(uuid_nil(), true, 'anonymous', '','');
+			return next 'Added the anonymous user.';
 		end if;
 	end;
 $func$ language plpgsql;

	end;
$$ language plpgsql;

create or replace function correct_users()
returns setof text as $func$
	begin

		
		
		
		
		if failed_test('test_users_table_validate_exists') then
			create table users.validate();
