integrate testing utils and test them