Adding test for file update