converted language specific add test macros into functions
converted language specific add test macros into functions

Change-Id: I5b8b243f8f5cb89f746b609ee161a0ecb69e96a3

blowekamp/SimpleITK,kaspermarstal/SimpleElastix,SimpleITK/SimpleITK,SimpleITK/SimpleITK,InsightSoftwareConsortium/SimpleITK,hendradarwin/SimpleITK,richardbeare/SimpleITK,SimpleITK/SimpleITK,blowekamp/SimpleITK,richardbeare/SimpleITK,richardbeare/SimpleITK,richardbeare/SimpleITK,SimpleITK/SimpleITK,hendradarwin/SimpleITK,SimpleITK/SimpleITK,kaspermarstal/SimpleElastix,SimpleITK/SimpleITK,blowekamp/SimpleITK,blowekamp/SimpleITK,kaspermarstal/SimpleElastix,InsightSoftwareConsortium/SimpleITK,richardbeare/SimpleITK,hendradarwin/SimpleITK,InsightSoftwareConsortium/SimpleITK,kaspermarstal/SimpleElastix,kaspermarstal/SimpleElastix,InsightSoftwareConsortium/SimpleITK,SimpleITK/SimpleITK,hendradarwin/SimpleITK,InsightSoftwareConsortium/SimpleITK,hendradarwin/SimpleITK,hendradarwin/SimpleITK,InsightSoftwareConsortium/SimpleITK,richardbeare/SimpleITK,InsightSoftwareConsortium/SimpleITK,blowekamp/SimpleITK,richardbeare/SimpleITK,SimpleITK/SimpleITK,kaspermarstal/SimpleElastix,hendradarwin/SimpleITK,richardbeare/SimpleITK,kaspermarstal/SimpleElastix,blowekamp/SimpleITK,InsightSoftwareConsortium/SimpleITK,blowekamp/SimpleITK,hendradarwin/SimpleITK,blowekamp/SimpleITK