Fix db path for functional tests