Added testcase for random string generation. (Issue #69)