Eliminate test duplication and test for the links on the layout