added tests for all view pages