add tests for Core classes