added test for command executed event