unit test for vmi_snapshot_create()

Signed-off-by: Guanglin Xu <mzguanglin@gmail.com>