fixing e2e tests for controllerAs