restored  a test that I'd broken by accident.
building process definition endpoint.