Rename to _set_table so it's more internal
Add failing test for warnings