JUnit tests for my part written.