Added run for more concise tests. Useful for frameworks with a callback approach to asyncrony.
Add documentation for run.