Added: example of using JUnit 4 to handle exception