Yeah, I'd just use the same checking that we do for the GAE tests, and don't try to import if we don't have GAE available.