Add data and tests for PDO scope implementation