Added maven, junit tests.