Add test for nodedev_detach_reattach

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

Add UnicodeError in except line for os.readlink

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