You don't have to write this twice.  That's the point of the `createView` function - it creates a temp view for the temp tests and a persistent view for the persistent tests.  I can fix it for you and push if you're busy.