Extend link test cases to cover restricted mode