test: check space is reduced after an allocation

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