added test case for changing datestyle in a before copy