Added a functional test for view precompilation

@yishaigalatzer 
extra line