more robust reading of prefix in test provider html files