Test cleanup. Stub memory_range