skip mechanize tests if import fails in python2

for possible use if we are keeping mechanize, otherwise just close