Check DB open in test