Fixing access control test