Switch testing to use core.test.