Port of declarative path tests from buster to mocha