import secrets
import string


def create_test_set(n):
    """Create a test set of random strings.
    Input size of lexicon.
    Output list of words."""
    test_set = []
    for i in range(n):
        random_word = ''.join(secrets.choice(string.ascii_lowercase) for i in range(5))
        test_set.append(random_word)
    return test_set