Adjusting unit test for core