testing from python for data analysis book