implementing tests for automatic access_rights