Add test cases to test layout links.