Fixed issue with Protractor when done callback is used.

In Protractor v0.21.0, when done is called, an error is thrown.
This is to prevent the mixing of callbacks with promises for async
tests.