Improve nodedev-detach-reatach test.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>