defn as macro in file test; using restname in macro definition