Add test for core.