--- a/test/org/esb/db/ProfileGroupTest.cpp
+++ b/test/org/esb/db/ProfileGroupTest.cpp
@@ -18,6 +18,9 @@
  */
 int main(int argc, char** argv) {
   Log::open("");
+  std::string src = MEC_SOURCE_DIR;
+
+  org::esb::config::Config::setProperty("hive.base_path", src.c_str());
   org::esb::config::Config::setProperty("db.url", "host=localhost;user=root;port=3306;database=example");
 
   org::esb::hive::DatabaseService::start(MEC_SOURCE_DIR);