Migrating code for access control module

Working on migrating access control tests to the new code base