Fixing DbProfiler, enable tests