Added `promise` method to test, to work with promises.
0.0.4