Add some unit tests to check that we can write a UPL handoff and read it back. Signed-off-by: Simon Glass <sjg@chromium.org>