Refactor a portion of test code to eliminate duplication
Refactor a portion of test code to eliminate duplication

salamb/girder,RafaelPalomar/girder,Xarthisius/girder,adsorensen/girder,manthey/girder,RafaelPalomar/girder,salamb/girder,sutartmelson/girder,salamb/girder,salamb/girder,RafaelPalomar/girder,essamjoubori/girder,sutartmelson/girder,essamjoubori/girder,kotfic/girder,Xarthisius/girder,sutartmelson/girder,salamb/girder,essamjoubori/girder,girder/girder,kotfic/girder,essamjoubori/girder,jbeezley/girder,Kitware/girder,jbeezley/girder,kotfic/girder,data-exp-lab/girder,Xarthisius/girder,kotfic/girder,data-exp-lab/girder,data-exp-lab/girder,adsorensen/girder,manthey/girder,data-exp-lab/girder,adsorensen/girder,manthey/girder,sutartmelson/girder,RafaelPalomar/girder,jbeezley/girder,adsorensen/girder,adsorensen/girder,Kitware/girder,sutartmelson/girder,girder/girder,girder/girder,Kitware/girder,Xarthisius/girder,essamjoubori/girder,Kitware/girder,data-exp-lab/girder,RafaelPalomar/girder,girder/girder,jbeezley/girder,kotfic/girder,Xarthisius/girder,manthey/girder