Jest Test Private Function Python