Fixing up API tests.
Turning on modl database trace.