Remove write to file tests