type_exists
static bool type_exists(const char *type, const char *databaseDir = mimeDatabaseDir.c_str());
CHK(!type_exists(testType));
CHK(type_exists(testType));