fixed; emit close on db when closing
tests; fixed duplicate test name
Fixes for close event to correct be emitted across all attached dbs