Improve `require` setup for depth/delta and associated test spec
Merge pull request #361 from miguno/GH-345

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