initial version of mg-compare-functions test script