Correct async testing

Now the test won't finish until the async code has finished executing
Update dartminer.dart
Merge pull request #1 from chrisbu/patch-1

Correct async testing