phase rotation testing