Fix #792 : JUnit 4.12 compatibility

I used a maven profile to be able to check compatibility with both versions (4.11 and 4.12) and I didn't want to change default dependency to 4.11.