Added missing test + minor cleanup of ViewTests.php

Added missing block reset test through assign().
Also made some minor cleanup in ViewTests.php. Mostly docblocks (params, returns) but also some unused variables.
Merge pull request #1441 from ravage84/ViewTestsCleanup

Added missing test + minor cleanup of ViewTests.php