[PLAT-3406] Maven - Refactor database code to better structure

Avoid problems by using only one set of Before/After annotations in superclass
[PLAT-3406] Maven - Refactor DbTest and upgrade test

Separate responsibilities better
[PLAT-3406] Maven - Refactor and split DbTest

Separate responsibilities better by having an abstract test and a utility class