fix unit test breakage. support --numeric option

broke because `ent` package now defaults to numeric character entity generation.
`ent` encode is now invoked with `numeric` flag set to false. --numeric option sets it to true.