fix test util to include domain