Persistence store commit returns null fix, passing test added. Simulates pipeline pre-commit hook returning a false.
Merge pull request #368 from hudo/pipelinehook-issue

Persistence store commit returns null fix, passing test added.