tests: Localmem tests fixed.