Write mocha chai test for links
sometimes timeout of 2000ms is exceeded