python test haha cases