updated register test