Update core_test.py