Fix failing tests

- added wait for output to grunt express task
- added callback for output to grunt express task