add structure for mocha tests of crawler