Adding wrapper for gethostname(). Writing one more test case.
Finishing unfinished comment.