Test case for DboSource::flushMethodCache