Test for database structure implemented