Michalewicz unit test too restrictive.

Differences in how the VM optimises code my cause this test to fail.