core and test