updated process_chain test to not check the actual error message
string from stderr as it varies across platforms.