Add tests for WorkScheduler and Works.