improving initialization test