Move require in spec_helper

Made the tests pass on Travis, dunno why though. Might have been
something intermittent.