Added sleep to protractor tests