add debug lines to SelectPublicationStepTest, and slight reformat