Add test for view access