test framework for core