fixed failing register tests