Fix set_token_rate to return {period,count} and change EQC test to match.