fixed logic in test registration. More agressive starting of a server when sync takes a long time