d50c630d1b
Changed test scenario to more straight-forward one, added tricks to prevent compiler optimizations and added checks when OOME didn't thrown as expected. Reviewed-by: tschatzl, jwilhelm