test registration