test registration ok