Integration tests for scheduler

@peterbourgon  @jmyounker
Should a wait function be in the client interface itself?