Add tests for deprecated access control API.