Fix duplicate code at head of test files
Merge pull request #96 from glittershark/fix-duplicate-code

Fix duplicate code at head of test files