Added link tag to icon for easier testing, also moved element location to beforeEach clause of tests.