Test for initialization and output txt