[MacOS] Added TestInput

Implements #1489 for MacOS

(Cleaned up of #1508)