unit tests for db_acl