Correct typos and test misconceptions

 * hebrevc() tests: revert $text argument for hebrevc()
   because of getting malformed output
 * other tests: replace string(literal number) "str" with
   string(%d) "str" when there's --EXPECTF-- section in test
   instead of just --EXPECT--