Improving keyboard tests stability (synced with shell) - fixes #483
Added properties needed for tests running on mac