added preventive cleanup test case
added PostgreSQL stacked queries test case