Fixed missing requires in test files

Missing requires in test files made them fail when run one at a time.
test_all.rb would sometimes fail when the test order changed, because of this.
Merge pull request #114 from GautierMinster/fix-tests-requires

Fixed missing requires in test files