Testing the wrapping of view engines

Added some unit tests, to make sure the engines are wrapped correctly.