tests: scripts to setup test database

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>