Changed the 'span' tag for a 'a' tag in the tests.