ACL tests
Almost done fixing ACL. Added tests.