adding tests for serverside view