tests: Fix out of memory detection in simple
tests: Fix out of memory detection in simple

Signed-off-by: Ola Jeppsson <793f970c52ded1276b9264c742f19d1888cbaf73@adapteva.com>

aolofsson/pal,parallella/pal,aolofsson/pal,parallella/pal,aolofsson/pal,aolofsson/pal,parallella/pal,parallella/pal,parallella/pal