Adjusted mocha path
Adjusted log and some settimeout to avoid some slowliness errors