fix bug that prevented sql tables be created before tests