Added eggdiscovery import in test module to prevent Travis failures
Absolute import of discovery module to fix Travis failures
Fixed py3 build