Added tests to test.cpp aboug string generators.