adding py.test tests, using pandas df for storage