added some testing utils