Updated to use nightwatchjs for e2e tests.