Fixed unittests not finding db