fix Perl 5 Queen attack test in case of exceptions
rewrite Perl 5 queen-attack test cases to be saner
Merge pull request #1139 from szabgab/perl5-queen-attack

Perl5 queen attack