TEST: wrote tests for ifp.py
TEST: wrote some testing utils