Added method and test for addition