Some tests for the Core API.