Added some tests for the controller/view rewrite.