Add some unit testing
setInheritanceStorageMode throws an exception if the mode is not allowed
Merge pull request #5 from AntoineAugusti/moar-unit-tests

Add some unit testing