now ensuring that core data refreshed after upgrade - initial test
final version for testing