HCOLL-191 added missing close to the test case