Fix num_of_string test.

Signed-off-by: Eric Taucher <Researcher0x00@gmail.com>