added test for adding an obligation through servr

added test for adding an obligation through servr, deleted alert I
missed with last commit
re factored addobligation for testing

re factored addobligation for testing, added another constructor for
obligation creation
Merge pull request #74 from Dayton1992/master

test for add obligation, refactor