I like it.  This whole setup feels a little funny.  Too much setup for a single string comparison.

viewEngine tests might be a little easier if we export all the viewEngine methods.