added syncdb to run_tests

Change-Id: Ib2a645eb4401074fbccd33927ef02b8c5d981b97
get dbpath from conf file in tests

Change-Id: I2bf83e5a57f188acb9713e2b2e3eee769119af0c