fix policy tests (chain is not name attribute)
fix variable name in install recipe