added python tests