Add missing test for #354

just added spec test for pull request #354