add jon directive and test case