Got core.py up to 100% coverage