Added a JUnit Integration Test.