Started work on adding unit tests for java