[BACKLOG-100] Adds a proper SQL test for concurrent operations.