fixes and new tests with protractor