Changed selenium tests structure and fixed add link test