updates initializer to skip test mode