Deprecation warning when running unit-tests

When running the q-unit tests, a deprecation warning appears in `api.util`.

```
Deprecation warning: moment construction falls back to js Date. 
This is discouraged and will be removed in upcoming major release. 
Please refer to https://github.com/moment/moment/issues/1407 for more info.
```