fixed; emit close on db when closing
tests; fixed duplicate test name
fix "name" global leak
Fixes for close event to correct be emitted across all attached dbs
Merge remote-tracking branch 'aheckmann/1.3-dev-fix-global-leak' into 1.3-dev