Plug resource leaks in acl test