Updated so exception raised if trying to create fact for non-existant node and updated tests.
Merge pull request #434 from git-harry/sprint

Merged automatically by jenkins after successful gate test