fix testcases and add FINCORE_NUMANODE