More tests for RavenDB Permission Repo