Add a simple unit test for the resize operation

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