attempt to fix coverage race

clean up resource tests along the way