Added gdb-remote test to verify M memory write.