Add more tests for CurrentUserPermissionManager, for adding new user permissions when not found in the database
Slightly improve the guiTest1