Added JUnit tests to the project to illustrate how this can be done. Upgraded framework versions.