added register hits test and passed