You could test it with file creation/removal or something simple, the same will then work for nerd-dictation.