fix test_firstrun