Fixes errors in tests with APC installed but not enabled in CLI.
Merge pull request #1437 from Phally/master-apc-errors

Fixes errors in tests with APC installed but not enabled in CLI.
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