test: the bounds checks only apply to the string interface

In the case of Cstructs, we can rely on the cstruct library performing
bounds checks.

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