add helper function to easily run tests on Pandas DataFrames