tests: properly install & restore some fixtures

Brought up while investigating #612.