Fix profiler for hhvm
Fix DB test for hhvm