updateTest function now working properly. It takes in the same data as the makeTest function