def METHOD_NAME(testDir, model, test):
    msg_head = "model: "+model+" test: "+test+" "
    # read ref data
    refData = _getTestData(os.path.join(testDir,"ref_data"))
    regData = _getTestData(os.path.join(testDir,"reg_test"))
    for key in refData.keys():
        assert key in regData
        pd.testing.assert_frame_equal(refData[key],regData[key], rtol=0.05, atol=1e-5)