added register test