fixed bug in test with closing </link> tags