[Cookbook][Testing][Database] Add missing configuration-block and remove trailing spaces

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.0+
| Fixed tickets | -