your tests are asynchronous, you need to pass `done` to your function ,and call it at the end of your callback.