MNT: modified tests/test_core.py
modified recip.py