various python tests