fixed register tests