Instance type validation and tests.