Added a simple JUnit test, making it easier to add new JUnit tests in
the future.