This test was ported to JUnit in ff4dc76e3dace24e36eea4c605a2f0fd0259565c