Improve view engine tests

This adds missing tests of `viewEngine`.