Fixes Issue 9758 - Emit documented unittest block even if unittest body is empty.
Merge pull request #1770 from AndrejMitrovic/Fix9758

Issue 9758 - Emit documented unittest block even if unittest body is empty
fix test case for bug 9713