Test memory access.