[46357451] user deactivation support

add more test cases to cover the check before the deactivation

Signed-off-by: Henry Chen <hchen@vmware.com>