update core data, add sqlite test