added end to end tests with protractor.