More tests for write queries/identifying tables