Test for table existence before creating it