Added test case for CoreData issues.