Agreed, but that is how mocha apparently works.

Somewhat related: http://blog.zackehh.com/starting-mocha-tests-programmically-runner-js/