Per discussion on #4893, tests which require switches be passed to node/coffee have their special handling hacked into Cakefile.
My proposal (and I'm already working on a PR) is to move special-case test files to their own directories under test/, accompanied by a config.json which contains the particulars of what's special about those tests.
(I figured it made more sense to open this than to continue off-topic discussion on the aforementioned PR.)