Added functional tests to cover rendering views without layout and
to return a result without content.
Incorporated code review feedback
Addressed feedback from @rynowak
Check for result.Body.Length = 0 instead of checking that the body is the empty string