Application tests for registration that is not open.
Oops, we need to invoke the callback in case of an error...