Added more tests to TestCore. Still some broken functionality.