fixing display bug for travis headless tests, and remove unneeded
traits import on network2