Test for preregister function
preregister completed
messages fixes