Update a test file