add register test