added test, removed unused import
merged test_core.py