Integration tests for scheduler

@peterbourgon  @jmyounker