Add tests to ensure CloseHandle get called correctly
Add tests to ensure CloseHandle get called correctly

macgreagoir/juju,ericsnowcurrently/juju,dimitern/juju,bac/juju,perrito666/juju,dimitern/juju,AdamIsrael/juju,davecheney/juju,davecheney/juju,gabriel-samfira/juju,bz2/juju,frankban/juju,marcmolla/juju,axw/juju,axw/juju,fwereade/juju,mjs/juju,dimitern/juju,bogdanteleaga/juju,anastasiamac/juju,anastasiamac/juju,fwereade/juju,mikemccracken/juju,mjs/juju,davecheney/juju,mikemccracken/juju,bogdanteleaga/juju,frankban/juju,macgreagoir/juju,dooferlad/juju,waigani/juju,alesstimec/juju,dooferlad/juju,mikemccracken/juju,kat-co/juju,makyo/juju,ericsnowcurrently/juju,bz2/juju,waigani/juju,bz2/juju,fwereade/juju,anastasiamac/juju,bz2/juju,marcmolla/juju,reedobrien/juju,waigani/juju,makyo/juju,bz2/juju,perrito666/juju,alesstimec/juju,bac/juju,marcmolla/juju,howbazaar/juju,kat-co/juju,fwereade/juju,makyo/juju,mikemccracken/juju,bogdanteleaga/juju,anastasiamac/juju,bac/juju,dooferlad/juju,axw/juju,mjs/juju,davecheney/juju,frankban/juju,alesstimec/juju,alesstimec/juju,reedobrien/juju,mjs/juju,axw/juju,howbazaar/juju,reedobrien/juju,mjs/juju,perrito666/juju,ericsnowcurrently/juju,makyo/juju,perrito666/juju,AdamIsrael/juju,howbazaar/juju,mikemccracken/juju,marcmolla/juju,dimitern/juju,dimitern/juju,dooferlad/juju,bac/juju,howbazaar/juju,macgreagoir/juju,gabriel-samfira/juju,mjs/juju,marcmolla/juju,kat-co/juju,kat-co/juju,anastasiamac/juju,AdamIsrael/juju,axw/juju,reedobrien/juju,gabriel-samfira/juju,ericsnowcurrently/juju,gabriel-samfira/juju,frankban/juju,howbazaar/juju,dooferlad/juju,macgreagoir/juju,frankban/juju,AdamIsrael/juju,kat-co/juju,macgreagoir/juju,reedobrien/juju,bogdanteleaga/juju,gabriel-samfira/juju,ericsnowcurrently/juju,alesstimec/juju,mjs/juju,perrito666/juju,bac/juju,waigani/juju