Added exception handling to open of test specific db.