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 element was found as the first element, it can also be 0. Suggestion:

```
createdDatabaseIsPresent = data.indexOf(newDocumentName) !== -1
```