add test for getBootstrappedData
add ability to clear cached layouts
add test for passing through the error object
add test for the layout template cache
Merge pull request #311 from lusini/improve-viewEngine-tests-2

Improve view engine tests