Update core_tests.py