Add test/REQUIRE, ensure test files run independently

Regarding isolation via modules, having test/runtests.jl use a framework
that takes care of isolating test files would be more convenient, but I
think this is a good solution for now.