t3404: make tests more self-contained