Review of core.c and coretest.c