Random.string and tests.