Add run-loop assertions.
Merge pull request #135 from rwjblue/add-run-loop-assertion

Add run-loop assertions.