Add tests of each API call using a sandbox clock device. Signed-off-by: Simon Glass <sjg@chromium.org>