added register tests