I just tried the testcase against 5.1.0.Final and it was successful, but 5.2.2.Final as well as 5.0.10.Final fail.