Fix #792 : JUnit 4.12 compatibility

Why didn't you just change the junit.version in the top of the POM? Our Travis CI build doesn't run with `-P junit-4.12`, so the tests will never run with JUnit 4.12...

I'm not saying you should change it, just wondering...