Added a more complex example for JUnit