Updates a test.