simple directive with test