tested simulated input using Xautomation