[PreRegistration] Used database initialization in test script