Fix tests
Fix expanding folds on firefox