I'm always very careful when placing code supporting the test outside of the test itself. Setup and teardown functions are fine, but I prefer to be safe because, well, you can't test the test.
-- I'm not saying this is the case in the blog post. Just some thoughts.