This test requires Jack with invoke-polymorphic support.