image policy tests