[AWS|Core] Stop flapping test by clearing out mock data