test: add a simple unit test for the xenstore ring

Signed-off-by: David Scott <dave.scott@citrix.com>