register test fix