Persistence store commit returns null fix, passing test added. 

Simulates pipeline pre-commit hook returning a false.