Improve `require` setup for depth/delta and associated test spec