Use native type in tests if available