Fix bug of ReadWriteTestPlugin