Added layout for db_connection test coverage and moved the freeing of db_backend to the last test since we will use the create structure in other tests.