Job management API with some testing.