Added a functional test for view precompilation

@yishaigalatzer 
You could instead have a single line printed out here which is the assembly which would negate the need for having a separate file.