Improve inputSupported test