Add simple junit based unit test.