tests: fix last for bigendian

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>