Fixes Issue 9758 - Emit documented unittest block even if unittest body is empty.