regression test for scope in view and links