Adding register tests