core-input test added and applied workarounds to other tests

A few basic tests for core-input
applied the suggested workarounds and changes
good question - I don't recall that we have an equivalent concept.

As for using 50msec delay, this can sometimes make tests flaky, so often using the mutation observer like you had before tends to be more reliable/predictable. Was something failing also if you use the mutation observer?