added sql testing scripts