simple db open/close test