Need to import CalledProcessError from subprocess
Add strip_interface_cloumn() to write module
Define global variables to clean up tests
Add unit tests for write module