examples/staging/test: Split and improve chapter

"Testing" chapter has been split in all requested sections. I'm going to discuss other sections I would like to add in #111's thread, but this completes the current TODO of the issue.
Could you add the output of running the tests without `--nocapture`?