Perl tests for Guardrail