Fix problem with tests broken by missing tables