re-added pubs-test replace lines