Adding unit test for ViewResult



<!---
@huboard:{"order":593.0,"custom_state":""}
-->