Or just run from terminal:
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
This should be displayed: bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test