grunt works :) with $ grunt nightwatch

I've intergrated the tests to work from the the command line with, 

    $ grunt nightwatch

before running tests, you will need to run

    $ npm install


if the it was found as the first element, it can also be 0. Suggestion:
```
createdDocIsPresent = data.indexOf(newDocumentName) !== -1
```