Added test tools to be able to submit click events etc. in tests cross-platfrom compatible way.