fixes and add tests to default execCommand actions