Move to unique_ptr, test addition, guarantees
Merge pull request #6 from JoeTheDentist/testing

unique_ptr, test improvements, guarantees