(#3144) - properly destroy databases created with {db: require('memdown')}

test fails without this commit