Fix tests and reject brackets in table names.