mock spark core