Add beginnings of tests for core