Adding is_register and testing

Adding the is_register method and testing around is_register and
_get_real_register_number.