Create a Python program to edit the following string and make all characters in the string uppercase.
'This is a test string.'
def to_uppercase(input):
    output = ""
    for char in input:
        output += char.upper()
    return output