Jest Test Private Function Python Example