Updated Database;
Added test opening database.