improved a Protractor test