Use "operation" for each directive and JSON in test file