Unittests added for the add method