Updated unit-test to correctly closing - this also makes detected areas correspond to SQL Server test