Fixed #23543 -- Added documentation on testing management commands

https://code.djangoproject.com/ticket/23543
Can I simply use `stderr=StringIO()` or does this also require `sys.stdout` redirection?