Better way to do input interaction testing