Jest Test Private Function Python Definition