Update test script
General MR
Summary
update the test-write.sh script to fail fast and a few other re-factorings
Relevant logs/screenshots
n/a
Linked Issue
n/a
Upgrade Notices
n/a
UNCLASSIFIED - NO CUI
Currently supported Big Bang Version is 3.7.0
UNCLASSIFIED - NO CUI