Adapt test so it doesn't fail with the latest 2.11 PC.

Something fishy is going on here, the presentation compiler
complains about a type mismatch:

 found : Int => Int required: PartialFunction[Int,?]