Updated tests to incorporate access control