more work on integrating mocha & e2e & nginx & local/dev env