Connect .tmp folder during grunt test
Use flush for async tests. Fixes #111