Issue 748: initial commit

Create pull request for add() method and its unit test.