tests for controller view rendering