Added the junit tests for add