replace udc integration test with a unittest