saving state before stripe testing