Best practice testing Python packages