initialise junit testing

add testAdd() to test the method add