Switched e2e tests to mocha
Moved to requirejs