Add tests fro registeration ending