Explicit check for database type in test