added tests python stack