Add disk error_policy test cases.

In fact, this function exists in utils_test.libvirt, maybe something different,
but I believe they can be merged at last.~