add registration test and annotation