Fix conditions in Perl snippets

- Allow Test::Spec snippets in Test::Spec test files only
- Fix first word on line condition