doc: clarify the exit code part of writing_tests.md
Checklist
-
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
doc
Description of change
I don't feel like it as clear on this before.
Also, we avoid process.exit()
in new tests so hint at that.