These tests do not really make sense: they expect the strutils.safe_encode() method to fail for some reason. Change-Id: I2ca07c06f86e4d83ae153601a0dab9a8f393f3e3