assert tables and attributes exist