Change in openbsc[master]: Cleanup and extend db test