Fix smoke tests.