Test policy inheritance.