Adding UT for flow programming failures.